<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="ReeducationEditDlg" widgetVar="ReeducationEditDialog" modal="true" resizable="false" appendToBody="true" header="#{bundle.EditReeducationTitle}">

            <h:form id="ReeducationEditForm">

                <h:panelGroup id="display">
                    <p:panelGrid  columns="2" rendered="#{reeducationController.selected != null}">

                        <h:outputLabel value="#{bundle.EditReeducationLabel_idReeductation}" for="idReeductation" />
                        <h:outputText id="idReeductation" value="#{reeducationController.selected.idReeductation}" />

                        <p:outputLabel value="#{bundle.EditReeducationLabel_presence}" for="presence" />
                        <p:inputTextarea rows="4" cols="30" id="presence" value="#{reeducationController.selected.presence}" title="#{bundle.EditReeducationTitle_presence}" />

                        <p:outputLabel value="#{bundle.EditReeducationLabel_idGrouupe}" for="idGrouupe" />
                        <p:inputText id="idGrouupe" value="#{reeducationController.selected.idGrouupe}" title="#{bundle.EditReeducationTitle_idGrouupe}" />
                    </p:panelGrid>
                    <p:commandButton actionListener="#{reeducationController.save}" value="#{bundle.Save}" update="display,:ReeducationListForm:datalist,:growl" oncomplete="handleSubmit(xhr,status,args,ReeducationEditDialog);"/>
                    <p:commandButton value="#{bundle.Cancel}" onclick="ReeducationEditDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
